Vylja's Energy Shield
(Abjuration)(Protection)

Range:  0
Components:  V, S, M
Duration:  Special
Casting Time:  8
Area of Effect:  Creature touched
Saving Throw:  None

When Vylja's energy shield is cast, the protected creature is surrounded by a glimmering and crackling blue cloak of magic. The energy shield lasts for 5 rounds for each level of the caster, unless it is exhausted earlier.
The energy shield will absorb attacks based on pure magical energy that are directed against the creature it protects. It absorbs one magic missile for each level the caster has attained (a magic missile cast by a 9th-level wizard will take five charges off the energy shield). At the end of each round during which the energy shield has absorbed at least one magic missile, there is a chance of 1% per level of the caster of the magic missile that the energy shield implodes, causing the protected creature to suffer 1d4 points of magical energy damage for each charge it has left.
Vylja's energy shield also protects against spellfire attacks: it absorbs its caster's level Hit Dice of damage before becoming exhausted. The chance of the energy shield imploding rises to 2% per level of the spellfire wielder. This 2% is cumulative with the 1% mentioned above.
When a creature protected by Vylja's energy shield comes into contact with a wall of force, the energy shield automatically implodes. There is however also a 3% chance per level of the caster of the energy shield that the wall of force will also be dispelled.
Because magical attacks based on fire, electricity and cold are partly supported by pure magical energy, a creature protected by an energy shield has a bonus of +2 on its saving throws against such spells. This does not exhaust the energy shield in any way, and such spells cannot cause the energy shield to implode.
In order to cast Vylja's energy shield, a priest needs his holy symbol and a sapphire worth at least 1000 gp.

